const broadModel = require('../model/broad')

module.exports = class {
  static async broadList(ctx) {
    const data = await broadModel.find().sort({create_time: -1})
    ctx.body = {
      err: 0,
      msg: 'success',
      data
    }
  }
}